/*
 * @Author: your name
 * @Date: 2021-09-09 20:51:35
 * @LastEditTime: 2021-09-13 13:23:01
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \backstage-management-system\system\src\router\routes\admin.js
 */
export default[ {
  path: '/login',
    component: () => import(/*webpackChunkName:'admin' */'@/views/login'),
    meta:{
      role:true
    }
},
    {path: '/admin',
    component: () => import(/*webpackChunkName:'admin' */'@/views/admin'),
    children: [
      {
        path: 'welcome',
        component: () => import(/*webpackChunkName:'welcome' */'@/views/welcome'),
      },
      {
        path: 'pm',
        component: () => import(/*webpackChunkName:'pm' */'@/views/pm'),
      },
      {
        path: 'add',
        component: () => import(/*webpackChunkName:'add' */'@/views/pm/add'),
      },
      {
        path: 'detail:id(\\d+)',
        component: () => import(/*webpackChunkName:'detail' */'@/views/pm/detail'),
      },
      {
        path: 'money',
        component: () => import(/*webpackChunkName:'money' */'@/views/money'),
      },
      {
        path: 'addmoney',
        component: () => import(/*webpackChunkName:'addmoney' */'@/views/money/ui/addmoney'),
      },
      {
        path: 'changem',
        component: () => import(/*webpackChunkName:'addmoney' */'@/views/money/ui/changem'),
      },
      {
        path: 'talent',
        component: () => import(/*webpackChunkName:'talent' */'@/views/talent'),
      },
      {
        path: 'addTalent',
        component: () => import(/*webpackChunkName:'addTalent' */'@/views/talent/addTalent'),
      },
      {
        path: 'seeTalent/:id(\\d+)',
        component: () => import(/*webpackChunkName:'seeTalent' */'@/views/talent/seeTalent'),
        props: true
      },
      {
        path: 'updateTalent/:id(\\d+)',
        component: () => import(/*webpackChunkName:'updateTalent' */'@/views/talent/updateTalent'),
        props: true
      },
       { path: 'meal',
        component: () => import(/*webpackChunkName:'meal' */'@/views/meal'),
      }, {
        path: 'meal/history',
        component: () => import(/*webpackChunkName:'history' */'@/views/meal/history'),
      },
      {
        path: 'meal/food',
        component: () => import(/*webpackChunkName:'food' */'@/views/meal/food'),
      },
      {
        path: 'cont',
        component: () => import(/*webpackChunkName:'cont' */'@/views/cont'),
      }
    ]
  }]